package com.by.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@TableName("b_order")
public class Order {

    /** ID */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(name = "ID",notes = "")
    private Integer id ;
    /** 创建者 */
    @ApiModelProperty(name = "创建者",notes = "")
    private String createBy ;
    /** 创建时间 */
    @ApiModelProperty(name = "创建时间",notes = "")
    private Date createTime ;
    /** 删除标志 true/false 删除/未删除 */
    @ApiModelProperty(name = "删除标志 true/false 删除/未删除",notes = "")
    private Boolean deleteFlag ;
    /** 更新者 */
    @ApiModelProperty(name = "更新者",notes = "")
    private String updateBy ;
    /** 更新时间 */
    @ApiModelProperty(name = "更新时间",notes = "")
    private Date updateTime ;
    /** 订单是否支持原路退回 */
    @ApiModelProperty(name = "订单是否支持原路退回",notes = "")
    private Boolean canReturn ;
    /** 订单取消原因 */
    @ApiModelProperty(name = "订单取消原因",notes = "")
    private String cancelReason ;
    /** 订单来源 */
    @ApiModelProperty(name = "订单来源",notes = "")
    private String clientType ;
    /** 完成时间 */
    @ApiModelProperty(name = "完成时间",notes = "")
    private Date completeTime ;
    /** 地址id ','分割 */
    @ApiModelProperty(name = "地址id ','分割",notes = "")
    private String consigneeAddressIdPath ;
    /** 地址名称  ','分割" */
    @ApiModelProperty(name = "地址名称  ','分割",notes = "")
    private String consigneeAddressPath ;
    /** 详细地址 */
    @ApiModelProperty(name = "详细地址",notes = "")
    private String consigneeDetail ;
    /** 收件人手机 */
    @ApiModelProperty(name = "收件人手机",notes = "")
    private String consigneeMobile ;
    /** 收件人姓名 */
    @ApiModelProperty(name = "收件人姓名",notes = "")
    private String consigneeName ;
    /** 货运状态 */
    @ApiModelProperty(name = "货运状态",notes = "")
    private String deliverStatus ;
    /** 优惠的金额 */
    @ApiModelProperty(name = "优惠的金额",notes = "")
    private Double discountPrice ;
    /** 总价格 */
    @ApiModelProperty(name = "总价格",notes = "")
    private Double flowPrice ;
    /** 运费 */
    @ApiModelProperty(name = "运费",notes = "")
    private Double freightPrice ;
    /** 商品数量 */
    @ApiModelProperty(name = "商品数量",notes = "")
    private Integer goodsNum ;
    /** 商品价格 */
    @ApiModelProperty(name = "商品价格",notes = "")
    private Double goodsPrice ;
    /** 物流公司CODE */
    @ApiModelProperty(name = "物流公司CODE",notes = "")
    private String logisticsCode ;
    /** 物流公司名称 */
    @ApiModelProperty(name = "物流公司名称",notes = "")
    private String logisticsName ;
    /** 发货单号 */
    @ApiModelProperty(name = "发货单号",notes = "")
    private String logisticsNo ;
    /** 送货时间 */
    @ApiModelProperty(name = "送货时间",notes = "")
    private Date logisticsTime ;
    /** 会员ID */
    @ApiModelProperty(name = "会员ID",notes = "")
    private String memberId ;
    /** 用户名 */
    @ApiModelProperty(name = "用户名",notes = "")
    private String memberName ;
    /** 是否需要发票 */
    @ApiModelProperty(name = "是否需要发票",notes = "")
    private Integer needReceipt ;
    /** 订单状态 */
    @ApiModelProperty(name = "订单状态",notes = "")
    private String orderStatus ;
    /** 订单类型 */
    @ApiModelProperty(name = "订单类型",notes = "")
    private String orderType ;
    /** 是否为其他订单下的订单，如果是则为依赖订单的sn，否则为空 */
    @ApiModelProperty(name = "是否为其他订单下的订单，如果是则为依赖订单的sn，否则为空",notes = "")
    private String parentOrderSn ;
    /** 支付方式返回的交易号 */
    @ApiModelProperty(name = "支付方式返回的交易号",notes = "")
    private String payOrderNo ;
    /** 付款状态 */
    @ApiModelProperty(name = "付款状态",notes = "")
    private Integer payStatus ;
    /** 支付方式 */
    @ApiModelProperty(name = "支付方式",notes = "")
    private String paymentMethod ;
    /** 支付时间 */
    @ApiModelProperty(name = "支付时间",notes = "")
    private Date paymentTime ;
    /** 价格详情 */
    @ApiModelProperty(name = "价格详情",notes = "")
    private String priceDetail ;
    /** 是否为某订单类型的订单，如果是则为订单类型的id，否则为空 */
    @ApiModelProperty(name = "是否为某订单类型的订单，如果是则为订单类型的id，否则为空",notes = "")
    private String promotionId ;
    /** 买家订单备注 */
    @ApiModelProperty(name = "买家订单备注",notes = "")
    private String remark ;
    /** 商家订单备注 */
    @ApiModelProperty(name = "商家订单备注",notes = "")
    private String sellerRemark ;
    /** 店铺ID */
    @ApiModelProperty(name = "店铺ID",notes = "")
    private String storeId ;
    /** 店铺名称 */
    @ApiModelProperty(name = "店铺名称",notes = "")
    private String storeName ;
    /** 订单编号 */
    @ApiModelProperty(name = "订单编号",notes = "")
    private String sn ;
    /** 交易编号 关联Trade */
    @ApiModelProperty(name = "交易编号 关联Trade",notes = "")
    private String tradeSn ;
    /** 订单商品总重量 */
    @ApiModelProperty(name = "订单商品总重量",notes = "")
    private Double weight ;
    /** 提货码 */
    @ApiModelProperty(name = "提货码",notes = "")
    private String qrCode ;
    /** 修改价格 */
    @ApiModelProperty(name = "修改价格",notes = "")
    private Double updatePrice ;
    /** 分销员ID */
    @ApiModelProperty(name = "分销员ID",notes = "")
    private String distributionId ;
    /** 配送方式 */
    @ApiModelProperty(name = "配送方式",notes = "")
    private String deliveryMethod ;
    /** 使用的平台会员优惠券id */
    @ApiModelProperty(name = "使用的平台会员优惠券id",notes = "")
    private String usePlatformMemberCouponId ;
    /** 使用的店铺会员优惠券id(,区分) */
    @ApiModelProperty(name = "使用的店铺会员优惠券id(,区分)",notes = "")
    private String useStoreMemberCouponIds ;
    /**  */
    @ApiModelProperty(name = "",notes = "")
    private String receivableNo ;
    /**  */
    @ApiModelProperty(name = "",notes = "")
    private String orderPromotionType ;
    /**  */
    @ApiModelProperty(name = "",notes = "")
    private String verificationCode ;
    /**  */
    @ApiModelProperty(name = "",notes = "")
    private String storeAddressPath ;
    /**  */
    @ApiModelProperty(name = "",notes = "")
    private String storeAddressCenter ;
    /**  */
    @ApiModelProperty(name = "",notes = "")
    private String storeAddressMobile ;


}
